﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp4
{
    class Superman: Animal, IFly
    {
        private string name;
        public string Name { get; set; }
        public Superman(string name) : base(name)
        {
            this.name = name;
        }

        public void fiy()
        {
            Console.WriteLine("{0}会飞",this.name);
        }
    }
}
